#pragma once
#include "ISyncEvent.h"
#include "IMessageSystem.h"
#include "IPumpService.h"

class SyncAcceptEvnt:public ISyncEvent,public CObject
{
public:
	SyncAcceptEvnt(IMessageSystem::CallBack::OnAccept,void*,IPumpService*);

	void Handle(IChannelManager*);
private:
	IMessageSystem::CallBack::OnAccept m_CallBack;
	void*							   m_pUserData;
	IPumpService*					   m_pService;
};